/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.bobo-switch {
  margin: 0;
  padding: 0;
  color: rgba(0, 0, 0, 0.85);
  font-size: 14px;
  font-variant: tabular-nums;
  line-height: 1.5715;
  list-style: none;
  font-feature-settings: 'tnum';
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  min-width: 44px;
  height: 22px;
  line-height: 22px;
  vertical-align: middle;
  background-color: rgba(0, 0, 0, 0.25);
  border: 0;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.bobo-switch:focus {
  outline: 0;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}
.bobo-switch-checked:focus {
  box-shadow: 0 0 0 2px #e6f7ff;
}
.bobo-switch:focus:hover {
  box-shadow: none;
}
.bobo-switch-checked {
  background-color: #1890ff;
}
.bobo-switch-loading,
.bobo-switch-disabled {
  cursor: not-allowed;
  opacity: 0.4;
}
.bobo-switch-loading *,
.bobo-switch-disabled * {
  box-shadow: none;
  cursor: not-allowed;
}
.bobo-switch-inner {
  display: block;
  margin: 0 7px 0 25px;
  color: #fff;
  font-size: 12px;
  transition: margin 0.2s;
}
.bobo-switch-checked .bobo-switch-inner {
  margin: 0 25px 0 7px;
}
.bobo-switch-handle {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  transition: all 0.2s ease-in-out;
}
.bobo-switch-handle::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #fff;
  border-radius: 9px;
  box-shadow: 0 2px 4px 0 rgba(0, 35, 11, 0.2);
  transition: all 0.2s ease-in-out;
  content: '';
}
.bobo-switch-checked .bobo-switch-handle {
  left: calc(100% - 18px - 2px);
}
.bobo-switch:not(.bobo-switch-disabled):active .bobo-switch-handle::before {
  right: -30%;
  left: 0;
}
.bobo-switch:not(.bobo-switch-disabled):active.bobo-switch-checked .bobo-switch-handle::before {
  right: 0;
  left: -30%;
}
.bobo-switch-loading-icon.anticon {
  position: relative;
  top: 2px;
  color: rgba(0, 0, 0, 0.65);
  vertical-align: top;
}
.bobo-switch-checked .bobo-switch-loading-icon {
  color: #1890ff;
}
.bobo-switch-small {
  min-width: 28px;
  height: 16px;
  line-height: 16px;
}
.bobo-switch-small .bobo-switch-inner {
  margin: 0 5px 0 18px;
  font-size: 12px;
}
.bobo-switch-small .bobo-switch-handle {
  width: 12px;
  height: 12px;
}
.bobo-switch-small .bobo-switch-loading-icon {
  top: 1.5px;
  font-size: 9px;
}
.bobo-switch-small.bobo-switch-checked .bobo-switch-inner {
  margin: 0 18px 0 5px;
}
.bobo-switch-small.bobo-switch-checked .bobo-switch-handle {
  left: calc(100% - 12px - 2px);
}
.bobo-switch-rtl {
  direction: rtl;
}
.bobo-switch-rtl .bobo-switch-inner {
  margin: 0 25px 0 7px;
}
.bobo-switch-rtl .bobo-switch-handle {
  right: 2px;
  left: auto;
}
.bobo-switch-rtl:not(.bobo-switch-rtl-disabled):active .bobo-switch-handle::before {
  right: 0;
  left: -30%;
}
.bobo-switch-rtl:not(.bobo-switch-rtl-disabled):active.bobo-switch-checked .bobo-switch-handle::before {
  right: -30%;
  left: 0;
}
.bobo-switch-rtl.bobo-switch-checked .bobo-switch-inner {
  margin: 0 7px 0 25px;
}
.bobo-switch-rtl.bobo-switch-checked .bobo-switch-handle {
  right: calc(100% - 18px - 2px);
}
.bobo-switch-rtl.bobo-switch-small.bobo-switch-checked .bobo-switch-handle {
  right: calc(100% - 12px - 2px);
}
